<template>
  <!--页面头-->
  <el-page-header @back="goBack" :content="content">
  </el-page-header>
</template>

<script>
    export default {
      data(){
        return{
          content: "详情页面",
        }
      },
      methods: {
        //返回上一步
        goBack() {
          console.log('go back');
          this.$router.go(-1);
        }
      }
    }
</script>

<style scoped>

</style>
